Optimal. Leaf size=59 \[ -\frac{2 a^2 \left (a+\frac{b}{x}\right )^{7/2}}{7 b^3}-\frac{2 \left (a+\frac{b}{x}\right )^{11/2}}{11 b^3}+\frac{4 a \left (a+\frac{b}{x}\right )^{9/2}}{9 b^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0242511, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {266, 43} \[ -\frac{2 a^2 \left (a+\frac{b}{x}\right )^{7/2}}{7 b^3}-\frac{2 \left (a+\frac{b}{x}\right )^{11/2}}{11 b^3}+\frac{4 a \left (a+\frac{b}{x}\right )^{9/2}}{9 b^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 43
Rubi steps
\begin{align*} \int \frac{\left (a+\frac{b}{x}\right )^{5/2}}{x^4} \, dx &=-\operatorname{Subst}\left (\int x^2 (a+b x)^{5/2} \, dx,x,\frac{1}{x}\right )\\ &=-\operatorname{Subst}\left (\int \left (\frac{a^2 (a+b x)^{5/2}}{b^2}-\frac{2 a (a+b x)^{7/2}}{b^2}+\frac{(a+b x)^{9/2}}{b^2}\right ) \, dx,x,\frac{1}{x}\right )\\ &=-\frac{2 a^2 \left (a+\frac{b}{x}\right )^{7/2}}{7 b^3}+\frac{4 a \left (a+\frac{b}{x}\right )^{9/2}}{9 b^3}-\frac{2 \left (a+\frac{b}{x}\right )^{11/2}}{11 b^3}\\ \end{align*}
Mathematica [A] time = 0.0220551, size = 47, normalized size = 0.8 \[ -\frac{2 \sqrt{a+\frac{b}{x}} (a x+b)^3 \left (8 a^2 x^2-28 a b x+63 b^2\right )}{693 b^3 x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 44, normalized size = 0.8 \begin{align*} -{\frac{ \left ( 2\,ax+2\,b \right ) \left ( 8\,{a}^{2}{x}^{2}-28\,xab+63\,{b}^{2} \right ) }{693\,{b}^{3}{x}^{3}} \left ({\frac{ax+b}{x}} \right ) ^{{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.03701, size = 63, normalized size = 1.07 \begin{align*} -\frac{2 \,{\left (a + \frac{b}{x}\right )}^{\frac{11}{2}}}{11 \, b^{3}} + \frac{4 \,{\left (a + \frac{b}{x}\right )}^{\frac{9}{2}} a}{9 \, b^{3}} - \frac{2 \,{\left (a + \frac{b}{x}\right )}^{\frac{7}{2}} a^{2}}{7 \, b^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.68553, size = 161, normalized size = 2.73 \begin{align*} -\frac{2 \,{\left (8 \, a^{5} x^{5} - 4 \, a^{4} b x^{4} + 3 \, a^{3} b^{2} x^{3} + 113 \, a^{2} b^{3} x^{2} + 161 \, a b^{4} x + 63 \, b^{5}\right )} \sqrt{\frac{a x + b}{x}}}{693 \, b^{3} x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 2.5966, size = 1073, normalized size = 18.19 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 2.23017, size = 365, normalized size = 6.19 \begin{align*} \frac{2 \,{\left (924 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )}^{8} a^{4} \mathrm{sgn}\left (x\right ) + 4851 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )}^{7} a^{\frac{7}{2}} b \mathrm{sgn}\left (x\right ) + 11781 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )}^{6} a^{3} b^{2} \mathrm{sgn}\left (x\right ) + 16863 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )}^{5} a^{\frac{5}{2}} b^{3} \mathrm{sgn}\left (x\right ) + 15345 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )}^{4} a^{2} b^{4} \mathrm{sgn}\left (x\right ) + 9009 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )}^{3} a^{\frac{3}{2}} b^{5} \mathrm{sgn}\left (x\right ) + 3311 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )}^{2} a b^{6} \mathrm{sgn}\left (x\right ) + 693 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )} \sqrt{a} b^{7} \mathrm{sgn}\left (x\right ) + 63 \, b^{8} \mathrm{sgn}\left (x\right )\right )}}{693 \,{\left (\sqrt{a} x - \sqrt{a x^{2} + b x}\right )}^{11}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]